package cn.wizzer.app.user.modules.models.enums;

/**
 * 充值枚举
 */
public enum RechargeStatusEnum {
    //
    CANCELLED("取消", -1),
    PAYING("用户发起", 0),
    PAID("用户确认转账", 1),
    SUCCESS("充值成功", 2),
    FAIL("充值失败", 3),
    ;

    final public String NAME;
    final public int VALUE;

    RechargeStatusEnum(String name, int value) {
        NAME = name;
        VALUE = value;
    }

    public String getName() {
        return NAME;
    }

    public int getValue() {
        return VALUE;
    }
}
